package com.share.design.command;

/**
 * author:caifan
 * date:2020/2/3
 */
public abstract class Command {
    protected Barbecuer barbecuer;

    public Command(Barbecuer barbecuer) {
        this.barbecuer = barbecuer;
    }

    /**
     * 执行命令
     */
    public abstract void executeCommand();
}
